package com.springboot.transactional.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface AccountMapper {
	 @Update("update account set name = #{name}, money = #{money} where id = #{id}")
	 int update(@Param("name") String name, @Param("money") double money, @Param("id") int  id);

}
